<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>编辑商铺设施清单</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=yes" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/platform.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <div class="header">
       <div class="header-1">
           <a href="javascrpt:void(0)" id="join" class="header-2">
              <span id="account" class="account">${empty user.realName ? '' : user.realName}</span>&nbsp;&nbsp;<span id="deptName" class="deptName">${user.departmentName}</span>
           </a>
           <a href="/wape-web/api/core/centerService?serviceCode=WJ9999&targetURL=store&prefix=3g_platform_shop-rent_op&entrance=yes" class="back" id="back">返回</a>
           <span class="span-num">WMP32120</span>
       </div>
    </div>
    <div class="content m-top">
        <div class="blank"></div>
        <div class="layout3-1">
            <div class="layout3-1-1"><span>${topMarket}</span>&nbsp;&nbsp;&nbsp;&nbsp;<span>场内商铺</span><span style="float:right;">棚区总面积：<b>${fatherTotalArea}</b>&nbsp;m²</span></div>
            <div class="hr"></div>
            <div class="layout3-1-1"><span><b>${store.fatherName}</b>&nbsp;&nbsp;&nbsp;&nbsp;<b>${store.storeName}</b>&nbsp;号</span><span style="float:right;">棚区内商铺数量：<b>${fatherRemark}</b>&nbsp;个</span></div>
            <div class="hr"></div>
        </div>
        <div class="blank"></div>
        <div class="layout3-3">
            <div class="layout3-3-1"><span style="font-size:14px;float:left;">商铺附属设施清单</span></div>
            <div class="hr"></div>
            <!--固定题目栏-->
            <div class="layout5-3-2">
                <a href="javascript:void(0)" class="a4-1" id="">
                    <table style="width:100%;">
                        <tr>
                            <td class="td-1">序号</td>
                            <td class="td-2">名称</td>
                            <td class="td-3">规格型号</td>
                            <td class="td-4">单位</td>
                            <td class="td-5">数量</td>
                            <td class="td-6">状态</td>
                            <td class="td-7">备注</td>
                        </tr>
                    </table>
                </a>
            </div>
            <div class="hr"></div>
            <!--活动栏-->
            <div class="layout5-3-2">
                <a href="javascript:void(0)" class="a4-1" id="">
                    <table style="width:100%;">
                        <c:forEach items="${prop}" var="po" varStatus="stat">
                        <tr style="border-bottom:1px solid #f2f2f2;">
                            <td class="td-1">${stat.count}</td>
                            <td class="td-2">${po.propValue}</td>
                            <td class="td-3">${po.propModel}</td>
                            <td class="td-4">${po.propUnit}</td>
                            <td class="td-5">${po.propCount}</td>
                            <c:if test="${po.propState eq '10'}">
                                <td class="td-6">完好</td>
                            </c:if>
                            <c:if test="${po.propState eq '20'}">
                                <td class="td-6">维修中</td>
                            </c:if>
                            <c:if test="${po.propState eq ''}">
                                <td class="td-6"></td>
                            </c:if>
                            <td class="td-7">${po.propRemarker}</td>
                        </tr>
                        </c:forEach>
                    </table>
                </a>
            </div>
            <div class="hr"></div>
            <div class="blank-b"></div>
            <div class="content-4-1" style="text-align:center;"><a href="/wape-web/api/core/centerService?serviceCode=WJ9999&targetURL=add-list&prefix=3g_platform_shop-rent_wp&toParam={storeId:'${store.storeId}',topMarket:'${topMarket}',fatherTotalArea:'${fatherTotalArea}',fatherRemark:'${fatherRemark}'}" id="other" style="font-size:20px;width:100%;display:inline-block;">✚</a></div>
        </div>
        <div class="space"></div>
    </div>
</div>
</body>
<script type="text/javascript">
   /*错误提示*/
   $(function(){
       var error = "${requestScope.returnMsg}";
       if(error != "" && error != "成功!"){
           layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
       }
   });
</script>

</html>


